﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/content.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>直接充值订单</title>
	<script>
		$(document).ready(function(){
			$("#mobile").focus();
			$("#linksForm").validate({
				 rules: { 
					mobile: { 
	        			required: true, 
	        			maxlength:11
	    			}
				},
				success: function(label) {
					label.html("&nbsp;").addClass("checked");
		        }	
			});
		});	
		
		</script>
	</head>
	<body>
		<div class="rhead">
			<div class="rpos">
				当前位置: 业务管理 - 直接充值订单 - 添加直接充值订单
			</div>
			<div class="ropt"><input type="button" value="返回" onclick="history.back()"/></div>			
			<div class="clear"></div>
		</div>
		<form action="directorderAction!add.action" method="post"
			id="linksForm">
			<table align="center" class="listTable3" width="90%">
				<tr>
					<td width="100px" class="pn-flabel">
						客户号码
					</td>
					<td>
						<input type="text" class="putMobile" id="mobile"
									name="mobile"  maxlength="11" />
					</td>
				</tr>

				<tr>
					<td class="pn-flabel">
						充值金额
					</td>
					<td>
						<select id="payment" type="text" name="directorder.amount">
								<c:forEach items="${authoritiesList}" var="auth">
										<option value="${auth.id}">${auth.name}</option>
								</c:forEach>
						</select>
						<strong class="col_red">元</strong>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						代理价
					</td>
					<td>
						<input type="text" name="directorder.discount"/>
					</td>
				</tr>

				<tr>
					<td class="pn-flabel">
						充值状态
					</td>
					<td>
						<select name="directorder.phoneState">
							<option value="0">
								待办理
							</option>
							<option value="1">
								办理中
							</option>
							<option value="2">
								已成功
							</option>
							<option value="3">
								已失败
							</option>
						</select>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						付款状态
					</td>
					<td>
						<select name="directorder.paymentState">
							<option value="0">
								未付款
							</option>
							<option value="1">
								已付款
							</option>
						</select>
					</td>
				</tr>
				
				<tr>
					<td class="pn-flabel">
						状态
					</td>
					<td>
						<select name="directorder.state">
							<option value="1">
								已启用
							</option>
							<option value="0">
								已停用
							</option>
						</select>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						备注
					</td>
					<td>
						<textarea rows="5" cols="20" name="directorder.comments"></textarea>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="text-align:center">
						<input type="submit" value=" 提 交 " />
						<input type="button" value=" 返回 " onclick="history.back()" />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>

